<div class="form" style="text-align: left">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'tranfer-form',
	'enableClientValidation'=>true,
	'htmlOptions' => array(
		'class' => 'form-horizontal',
	)
)); ?>
    <div class="control-group">    
        <div class="controls">
           <h2><?php echo Yii::t("lbl", "0018");?></h2>
        </div>
    </div>

    <div class="control-group">
        <?php echo $form->label($model,'to',array('class' => 'control-label')); ?>
        <div class="controls">
            <?php echo $form->textField($model,'to', array('class' => 'span3'));?>
            <?php echo $form->error($model,'to',array('inputContainer' => 'span','errorCssClass' => 'errorMsg')) ?>
        </div>
    </div>

    <div class="control-group">
        <?php echo $form->label($model,'amount',array('class' => 'control-label')); ?>
        <div class="controls">
            <?php echo $form->textField($model,'amount', array('class' => 'span3'));?>
            <?php echo $form->error($model,'amount',array('inputContainer' => 'span','errorCssClass' => 'errorMsg')) ?>
            <br><span><?php echo Yii::t('msg', '0035', array('{min_transfer}' => $min_transfer,'{transfer_rate}' => $transfer_rate));?></span>
        </div>
    </div>

	<?php if(CCaptcha::checkRequirements()): ?>
	<div class="control-group">
		<?php echo $form->labelEx($model,'verifyCode',array('class' => 'control-label')); ?>
		<div class="controls captcha">
		<?php $this->widget('CCaptcha'); ?><br>
		<?php echo $form->textField($model,'verifyCode'); ?>
		<?php echo $form->error($model,'verifyCode'); ?>
		</div>
	</div>
	<?php endif; ?>
    <div class="form-actions">
        <button type="submit" class="btn btn-primary"><?php echo Yii::t("lbl", "0012");?></button>
        <button type="reset" class="btn" ><?php echo Yii::t("lbl", "0002");?></button>
    </div>
<?php $this->endWidget(); ?>
</div><!-- form -->
